
#encoding=UTF-8

from Error import *
from DefensiveBuilding import *

class Cannon(DefensiveBuilding):
	def __init__(self):
		DefensiveBuilding.__init__(self)
		self.url = "http://clashofclans.wikia.com/wiki/Cannon"
		self.number_available_dsec = """
2 	2 	2 	2 	3 	3 	5 	5 	5 	6 
"""
		self.level_info_desc = """
1 	9 	7.2 	400 	250 	1 minute 	7 	1
2 	11 	8.8 	450 	1,000 	15 minutes 	17 	1
3 	15 	12 	500 	4,000 	45 minutes 	51 	2
4 	19 	15.2 	550 	16,000 	2 hours 	84 	3
5 	25 	20 	590 	50,000 	6 hours 	146 	4
6 	31 	24.8 	610 	100,000 	12 hours 	207 	5
7 	40 	32 	630 	200,000 	1 day 	293 	6
8 	48 	38.4 	660 	400,000 	2 days 	415 	7
9 	56 	44.8 	690 	800,000 	3 days 	509 	8
10 	65 	52 	750 	1,600,000 	4 days 	587 	8
11 	75 	60 	900 	3,200,000 	5 days 	657 	9
12 	86 	68.8 	1,080 	6,400,000 	6 days 	720 	10 
"""
		self._DoParse()

	def GetAttackSpeed(self):
		return 0.8

